package cn.zh.system.mapper;

import cn.zh.base.mapper.BaseMapper;
import cn.zh.system.domain.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zh
 * @since 2023-03-09
 */
public interface MenuMapper extends BaseMapper<Menu> {

    void addMiddle(@Param("roleId") Long id, @Param("menus") List<Long> menus);

    void deleteByRoleId(Long roleId);
}
